<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>手风琴</title>
		<style type="text/css">
			* {
				margin: 0;
				padding: 0;
				list-style: none;
			}
			.box {
				width: 300px;
				margin: 0 auto;
			}
			.box li h2 {
				height: 36px;
				padding-left: 10px;
				line-height: 36px;
				background-color: #cee8ff;
				border-radius: 5px;
				border: 1px solid #86888a;
				cursor: pointer;
			}
			.box li h2:hover + .showImg img {
				width: 100%;
			}
			.box li img {
				width: 0;
				display: block;
				transition: all 1s;
			}
		</style>
	</head>
	<body>
		<div class="box">
			<ul>
				<li>
					<h2>孙尚香</h2>
					<div class="showImg">
						<img src="img/01.jpg" >
					</div>
				</li>
				<li>
					<h2>兰陵王</h2>
					<div class="showImg">
						<img src="img/02.jpg" >
					</div>
				</li>
				<li>
					<h2>上官婉儿</h2>
					<div class="showImg">
						<img src="img/03.jpg" >
					</div>
				</li>
			</ul>
		</div>
	</body>
</html>
